<template>
  <el-input
      v-bind="vBind"
      v-model="defaultProps.row[item.prop]"
      ref="component"
      :placeholder="placeholder"
  ></el-input>
</template>

<script lang="ts">
import {ComsCommonMixin} from "../mixins/ComsCommonMixin";
export default {
  name: 'Input',
  mixins:[ComsCommonMixin],
  computed:{
    placeholder(){
      return this.item.props?.placeholder || '请输入'+(this.item.label || '')
    }
  },
  methods: {
    initValue() {
      this.defaultProps.row[this.item.prop] = ''
    }
  }
}
</script>

<style lang="scss" scoped>

</style>